package de.dhbw.tinf11b.vfb.exceptions;

import de.dhbw.tinf11b.vfb.Student;
import de.dhbw.tinf11b.vfb.Unit;

public class UnitNotPassedException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public Unit getUnit() {
		return unit;
	}

	public void setUnit(Unit unit) {
		this.unit = unit;
	}

	protected Student student;
	protected Unit unit;
	
	public UnitNotPassedException(Student student, Unit unit) {
		this.student = student;
		this.unit = unit;
	}
}
